package cop;

import resources.ResMgr;
import utils.MyException;
import engine.Game;

public class COPGame extends Game {

	public COPGame(String name) {
		super(name);
	}

	@Override
	protected void initialize() {
		try {
			ResMgr.get().openAll();
		} catch (MyException e1) {}
		addRoom(new COPMenu(800, 600), false, false);
		addRoom(new COPTwoPlayer(800, 600), false, false);
		try {
			goToRoom("GameMenu");
		} catch (MyException e) {}
	}
}